<!DOCTYPE html>
<html>
  <style>
@page {
    margin: 0;
}
.block {
    width: 1cm;
    height: 1cm;
    border: 2px solid blue;
}
  </style>
  <body>
    <div class="block" style="break-after: page"></div>
    <div style="padding: 1in">
      <div class="block"></div>
    </div>
  </body>
</html>
